package com.deep.deepenterpise.model.to.unit;

import com.deep.deepenterpise.model.vo.unit.DrUnitCheckItemVo;
import lombok.Data;

/**
 * @author xyz
 * @version 1.0
 * @title DrContentTo
 * @description
 * @create 2024/6/13 23:19
 */
@Data
public class DrItemTo {
    private Integer drId;
    private String drItem;
    private Integer drType;

    public DrItemTo() {
    }


    public DrItemTo(DrUnitCheckItemVo drUnitCheckItemVo) {
        this.drId = drUnitCheckItemVo.getDrId();
        this.drItem = drUnitCheckItemVo.getDrContent();
        this.drType = drUnitCheckItemVo.getDrIsDangers();
    }
}
